<?php
require_once 'simpletest/unit_tester.php';
require_once 'simpletest/reporter.php';
require_once dirname(__FILE__) . '/../OnlyHiddenAction.php';

class OnlyhiddenactionTest extends UnitTestCase
{
	public function Test1100()
	{
		$obj = new myOnlyHiddenActionTest();
		$html = $obj->fetch();
		echo $html;
	}
}

class myOnlyHiddenActionTest extends Hlib_Form_OnlyHiddenAction
{
	const NAME_FORM = 'mycancel';
	const ACTION_FORM = 'http://www.yahoo.co.jp';
	
	public function __construct()
	{
		parent::__construct(self::NAME_FORM, self::ACTION_FORM);
		$this->addHidden('hidden1', '1');
		$this->addHidden('hidden2', '2');
	}
}